FROM centos:7
WORKDIR /goBuildFile
COPY agent /goBuildFile
COPY config.toml /goBuildFile
EXPOSE 50030
RUN ["chmod","+x","agent"]
CMD ["nohup","./agent",">log.txt","&"]
